package logic

import (
	"context"
	"rpc/internal/svc"
	"rpc/site"

	"github.com/zeromicro/go-zero/core/logx"
)

type ListTechnicianLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewListTechnicianLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListTechnicianLogic {
	return &ListTechnicianLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *ListTechnicianLogic) ListTechnician(in *site.ListTechnicianRequest) (*site.ListTechnicianResponse, error) {
	/*	t := mysql.Technician{}
		err := t.List(strconv.FormatInt(in.TechnicianId, 10))
		if err != nil {
			logx.Error("查询失败", err)
			return nil, err
		}*/

	return &site.ListTechnicianResponse{}, nil
}
